package pyip.lib.javalearn.classloader.load;

class ClassB {
    @SuppressWarnings("unused")
    private ClassB instance;

    static {
        System.out.println("static B......");
    }

    public ClassB() {
        System.out.println("A constructor.......");
    }

    public void print() {
        System.out.println("use B.......");
    }

    public void setInstance(ClassB b) {
        instance = b;
    }
}